xen/arm: traps: Don't panic when receiving an unknown debug trap
authorJulien Grall <jgrall@amazon.com>
Thu, 5 Nov 2020 22:31:06 +0000 (22:31 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 6 Nov 2020 02:00:10 +0000 (18:00 -0800)
commit957708c2d1ae25d7375abd5e5e70c3043d64f1f1
tree1732d3ab8d20d0209d2227f4c83eab47f3524673
parente006b2e3be72e502b86bd9e1405417abd87bdfed
xen/arm: traps: Don't panic when receiving an unknown debug trap

Even if debug trap are only meant for debugging purpose, it is quite
harsh to crash Xen if one of the trap sent by the guest is not handled.

So switch from a panic() to a printk().

Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/traps.c